package com.zyh.entity;

import lombok.Data;

import java.util.Date;

@Data
public class UserVO extends User{
    private Integer id;
    private Integer bookId;
    private String account;
    private String username;
    private String password;
    private Integer sex;
    private String telephonenumber;
    private Date birthday;
    private String comment;
    private Integer valid;
    private  String  email;

    private Integer page;
    private Integer start;
    private Integer limit;

    public UserVO(){

        if (page==null) {
            start=0;
        } else {
            start=(page-1)*limit;
        }
    }

}
